package com.tai.design.adapter.class_adapter;

/**
 * The type Computer.
 *
 * @version v1.0
 * @ClassName: Computer
 * @Description: 计算机类
 * @Author: taylor
 */
public class Computer {

    /**
     * Read sd string.
     *
     * @param sdCard the sd card
     * @return the string
     */
//从SD卡中读取数据
    public String readSD(SDCard sdCard) {
        if(sdCard == null) {
            throw  new NullPointerException("sd card is not null");
        }
        return sdCard.readSD();
    }
}
